package com.bzg.manager.bean;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value;

public class User {
	private String id;
	private String userName;
	private String password;
	private String pushId;
	private String token;
	private String vendCode;
	private String vendName;
	private Date lastLoginTime;
	private String imgPath;//用户头像访问路径
	private String easymob_name;
	private String easymob_pwd;
	private String localName;//用户的真实中文名字
	private String email;
	private String mobile;
	private String currentVendCode;//当前用户code
	
	
	
	
	
	public String getCurrentVendCode() {
		return currentVendCode;
	}
	public void setCurrentVendCode(String currentVendCode) {
		this.currentVendCode = currentVendCode;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		if(StringUtils.isEmpty(email)){
			this.email = "";
		}else{
			this.email = email;
		}
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		if(StringUtils.isEmpty(mobile)){
			this.mobile = "";
		}else{
			this.mobile = mobile;
		}
	}
	public String getLocalName() {
		return localName;
	}
	public void setLocalName(String localName) {
		if(StringUtils.isEmpty(localName)){
			this.localName = "";
		}else{
			this.localName = localName;
		}
	}
	public String getEasymob_name() {
		return easymob_name;
	}
	public void setEasymob_name(String easymob_name) {
		if(StringUtils.isEmpty(easymob_name)){
			this.easymob_name = "";
		}else{
			this.easymob_name = easymob_name;
		}
	}
	
	public String getEasymob_pwd() {
		return easymob_pwd;
	}
	public void setEasymob_pwd(String easymob_pwd) {
		if(StringUtils.isEmpty(easymob_pwd)){
			this.easymob_pwd = "";
		}else{
			this.easymob_pwd = easymob_pwd;
		}
	}
	public String getImgPath() {
		return imgPath;
	}
	public void setImgPath(String imgPath) {
		if(StringUtils.isEmpty(imgPath)){
			this.imgPath = "";
		}else{
			this.imgPath = imgPath;
		}
	}
	public String getVendName() {
		return vendName;
	}
	public void setVendName(String vendName) {
		this.vendName = vendName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPushId() {
		return pushId;
	}
	public void setPushId(String pushId) {
		this.pushId = pushId;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getVendCode() {
		return vendCode;
	}
	public void setVendCode(String vendCode) {
		this.vendCode = vendCode;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	
	
}
